import 'package:flutter/material.dart';

/// =====================================================
/// =========================View========================
/// =====================================================
//import 'package:flutter_example/view/main.dart';
//import 'package:flutter_example/view/updateApp.dart';
//import 'package:flutter_example/view/layoutApp.dart';
//import 'package:flutter_example/view/addRemoveApp.dart';
//import 'package:flutter_example/view/animationApp.dart';
//import 'package:flutter_example/view/canvasApp.dart';
//import 'package:flutter_example/view/customApp.dart';
//import 'package:flutter_example/view/listViewApp.dart';
//import 'package:flutter_example/view/updateListViewApp.dart';
//import 'package:flutter_example/view/hintTextField.dart';
import 'package:flutter_example/view/validationApp.dart';

// 运行MyApp页面
//void main() => runApp(MyApp());
// 更新App页面
//void main() => runApp(UpdateApp());
// 布局App页面
//void main() => runApp(LayoutApp());
// 移除或添加控件
//void main() => runApp(AddRemoveApp());
// 动画
//void main() => runApp(AnimationApp());
// 绘图
//void main() => runApp(CanvasApp());
// 自定义控件
//void main() => runApp(CustomApp());
// ListView显示
//void main() => runApp(ListViewApp());
// 更新ListView
//void main() => runApp(UpdateListViewApp());
// 隐式提示输入信息
//void main() => runApp(HintTextFieldApp());
// 验证输入
void main() => runApp(ValidationApp());

/// =====================================================
/// ========================Intent=======================
/// =====================================================

//import 'package:flutter_example/intent/intentApp.dart';
//import 'package:flutter_example/intent/serviceApp.dart';
//import 'package:flutter_example/intent/intentForResultApp.dart';

// 开启新页面
//void main() => runApp(IntentApp());
// 获取Kotlin代码数据
//void main() => runApp(ServiceApp());
// 从后一个页面获取数据
//void main() => runApp(IntentForResultApp());

/// =====================================================
/// ======================Async UI=======================
/// =====================================================

//import 'package:flutter_example/asyncUi/runOnUiThreadApp.dart';
//import 'package:flutter_example/asyncUi/backgroundThreadApp.dart';

// 更新UI
//void main() => runApp(RunOnUiThreadApp());
// 后台线程更新
//void main() => runApp(BackgroundThreadApp());

/// =====================================================
/// ======================Resources======================
/// =====================================================

//import 'package:flutter_example/resources/imageApp.dart';
//import 'package:flutter_example/lifecycle/lifecycleApp.dart';
//import 'package:flutter_example/resources/fontApp.dart';

// 图片
// void main() => runApp(ImageApp());
// 字符串
//void main() => runApp(StringApp());
// 生命周期
//void main() => runApp(LifeCycleApp());
// 字体
//void main() => runApp(FontApp());

/// =====================================================
/// ========================Layout=======================
/// =====================================================
//import 'package:flutter_example/layout/linearlayoutApp.dart';
//import 'package:flutter_example/layout/scrollViewApp.dart';

// 线性布局
//void main() => runApp(LinearLayoutApp());
// 滚动视图
//void main() => runApp(ScrollViewApp());

/// =====================================================
/// ========================Gesture======================
/// =====================================================
//import 'package:flutter_example/gesture/onClickApp.dart';
//import 'package:flutter_example/gesture/gestureApp.dart';

// 点击
//void main() => runApp(OnClickApp());
// 手势
//void main() => runApp(GestureApp());
